<template>
  <div id="firstLeft">
    <div class="author">
      @{{item.author}}
    </div>
    <div class="title">
      #{{item.title}}#
    </div>
    <div class="box">
      <div class="music iconfont">
        &#xe682;月光
      </div>
    </div>
    
  </div>
</template>

<script>
export default {
  name: 'firstLeft',
  props:['item'],
  mounted(){
    // console.log('-----------------')
    // console.log(this.item)
  }
};
</script>

<style scoped>
#firstLeft{
  height: 3rem;
  margin-left: .2rem;
  color: #ffffff;
}
#firstLeft .author,.title,.music{
  height: .7rem;
  line-height: .7rem;
  font-size: .30rem;
}
.box{
  width: 2rem;
  overflow: hidden;
}
.music{
  height: .7rem;
  line-height: .7rem;
  font-size: .30rem;
  animation: 7s music linear infinite;
}
@keyframes music{
  0%{
    -webkit-transform: translate3d(80%,0,0);
    transform: translate3d(80%,0,0)
  }
  100%{
    -webkit-transform: translate3d(-50%,0,0);
    transform: translate3d(-50%,0,0)
  }
}
</style>
